import ajax from "@/utils/request";
import '../mock/mock'



export function setenroll(tel: string, psw: string) {
    return ajax({
        url: '/api/seach',
        method: 'post',
        data: {
            tel,
            psw
        }
    })
}


export function getlogin(data: any) {
    return ajax({
        url: '/api/loginaaa',
        method: 'post',
        data: { num: data }
    })
}

export function getGameChart(data?: any) {
    return ajax({
        url: '/api/GameChart',
        method: 'post',
    })
}

export function getGameCharts(data?: any) {
    return ajax({
        url: '/api/GameCharts',
        method: 'post',
    })
}

export function getGameChart2(data?: any) {
    return ajax({
        url: '/api/GameChart2',
        method: 'post',
    })
}


